package com.oa.service;

import java.util.List;

import com.oa.entity.User;

public interface UserService {
	//查询所有用户
	List<User> list();
	//添加用户
	public boolean add(User user);
	//修改用户
	public boolean update(User user);
	//撤销用户
	public boolean delete(User user);
	//根据ID 查询单个用户
	public User getById(String unique_id);
	//初始化用户密码
	public boolean initPassword();
	//用户登录设置
	public User findUserNameAndPass(User user);
	
}
